package Test5;

    public class IllegalArgumentException extends Exception {
        private final String message;

        public IllegalArgumentException(String message) {
            this.message = message;
        }

        @Override
        public String toString() {
            return "IllegalArgumentException: " + message;
        }
    }



